#include "MQTTPort.h"
#include "network.h"
#include <string.h>

Network g_MqttNetwork;

void TimerInit(Timer* t)
{
    t->BaseTime = 0;
    t->IntervalTime = 0;
}

char TimerIsExpired(Timer* t)
{
    return TimeOut(t);
}
void TimerCountdownMS(Timer* t, unsigned int s)
{
    StartTimer(t,s);
}
void TimerCountdown(Timer* t, unsigned int s)
{
    StartTimer(t,s*1000);
}
int TimerLeftMS(Timer* t)
{
    return TimerLeft(t);
}


